#!/bin/bash

export CC=/opt/atk-dlrv1126-toolchain/usr/bin/arm-linux-gnueabihf-gcc
export CXX=/opt/atk-dlrv1126-toolchain/usr/bin/arm-linux-gnueabihf-g++

BUILD_DIR=build

if [ -e ${BUILD_DIR} ]; then
  rm -r ${BUILD_DIR}
fi

mkdir ${BUILD_DIR}
cd ${BUILD_DIR}
cmake ..
make -j8



